package com.iwomy.envpro.platform.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.yulichang.extension.mapping.base.MPJDeepService;
import com.iwomy.envpro.platform.entity.BasicVideoSurveillanceEntity;

import java.util.List;

public interface BasicVideoSurveillanceService extends MPJDeepService<BasicVideoSurveillanceEntity> {
    Boolean saveDeep(BasicVideoSurveillanceEntity basicVideoSurveillance);

    Boolean updateDeep(BasicVideoSurveillanceEntity basicVideoSurveillance);

    Boolean removeDeep(Long[] ids);

    Boolean removeChild(Long[] ids);

	BasicVideoSurveillanceEntity getOneByVideoDeviceSerial(String deviceSerial);

    Page pageByScope(Page page, BasicVideoSurveillanceEntity basicVideoSurveillance);

    List<BasicVideoSurveillanceEntity> listByScope(BasicVideoSurveillanceEntity basicVideoSurveillance);

}